/*
 * @Author: Superficial
 * @Date: 2021-02-22 16:36:49
 * @LastEditTime: 2021-04-12 15:01:29
 * @Description: environment
 */
export const isSSR = !!import.meta.env.VITE_SSR
export const isSPA = !isSSR

export const isProduction = import.meta.env.MODE

// runtime env
export const isServer = typeof window === 'undefined'
export const isClient = !isServer